package priv.mill.listener;

import org.I0Itec.zkclient.IZkDataListener;

public class MyDataListener implements IZkDataListener {

	@Override
	public void handleDataChange(String path, Object obj) throws Exception {
		System.out.println(obj);
	}

	@Override
	public void handleDataDeleted(String path) throws Exception {
		System.out.println(path+"被删除");
	}

}
